package com.haust.su.ghyy.hospital.repository;

import com.haust.su.ghyy.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author haustsusu
 * @create 2023-04-27-10:40
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {
    //上传科室接口,查询科室的信息
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
